luci-theme-openwrt-2020: add css class button-row
authorFlorian Eckert <[email protected]>
Fri, 7 Jun 2024 10:51:16 +0000 (12:51 +0200)
committerFlorian Eckert <[email protected]>
Tue, 9 Jul 2024 14:19:51 +0000 (16:19 +0200)
Signed-off-by: Florian Eckert <[email protected]>
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/cascade.css

index 277af225f6a03daea43ba49dae45c6717f75d5b7..46120e813128938404fb118f3d2b9eb5b3e20b98 100644 (file)
@@ -275,6 +275,18 @@ body.modal-overlay-active #modal_overlay {
 
 .modal .cbi-section > legend:first-child { font-size: 120%; }
 
+.modal .button-row {
+       display: flex;
+       justify-content: space-between;
+}
+
+.modal .button-row > :not(:last-child) {
+       margin-right: .5em;
+}
+
+.modal .button-row > :first-child {
+       margin-right: auto;
+}
 
 /*
  * table layout